﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Resources/TPLOAMPage.Master" AutoEventWireup="true"
    CodeBehind="adminotherservice.aspx.cs" Inherits="TPLOAWebClient.adminotherservice" %>

<%@ Register Assembly="System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="navbarPHolder" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <asp:Button ID="profileBtn" runat="server" Font-Bold="False" OnClick="profileBtn_Click"
        Text="Profile" CssClass="navbtnCSS" CausesValidation="False"  />
    <asp:Button ID="managementtoolsBtn" runat="server" Font-Bold="False" OnClick="managementtoolsBtn_Click"
        Text="Management Tools" CssClass="navbtnCSS" CausesValidation="False" />
    <asp:Button ID="faqBtn" runat="server" Font-Bold="False" OnClick="faqBtn_Click" 
        Text="FAQ" CssClass="navbtnCSS" CausesValidation="False"  />
    <asp:Button ID="otherservicesBtn" runat="server" Font-Bold="False" OnClick="otherservicesBtn_Click"
        Text="Other Services" CssClass="navbtnCSS" CausesValidation="False" />
    <asp:Button ID="LogoutBtn" runat="server" Font-Bold="False" OnClick="LogoutBtn_Click"
        Text="Logout" CssClass="navbtnCSS" CausesValidation="False" />
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="sectionTitlePHolder" runat="server">
    Other Services
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="mainContentPHolder" runat="server">
<center>
        <font size="6">Registered Clinics Available</font><br />
        <div id="map" style="width: 500px; height: 300px;">
        </div>
        <script type="text/javascript" src="http://gothere.sg/jsapi?sensor=false"> </script>
        <script type="text/javascript">
            gothere.load("maps");
            function initialize() {
                if (GBrowserIsCompatible()) {
                    // Create the Gothere map object.
                    var map = new GMap2(document.getElementById("map"));
                    // Set the center of the map.
                    map.setCenter(new GLatLng(1.360288, 103.814169), 11);
                    // Add zoom controls on the top left of the map.
                    map.addControl(new GSmallMapControl());
                    // Add a scale bar at the bottom left of the map.
                    map.addControl(new GScaleControl());

                    var locations = [
            	    ["<b>Pasir Ris Polyclinic</b><br />"
                    + "#01-11, Pasir Ris East Community Club (CC), 1 Pasir Ris Drive 4, Singapore 519457<br />"
                    + "Phone: 6585 5390", [1.368433, 103.959257]],
            	    ["<b>Tampines Polyclinic</b><br />"
                    + "1 Tampines Street 41, Singapore 529203<br />"
                    + "Phone: 6786 4270", [1.357415, 103.945892]],
            	];
                    // Create a marker for each location.
                    for (var i = 0, n = locations.length; i < n; i++) {
                        var location = locations[i];
                        var marker = new GMarker(new GLatLng(location[1][0], location[1][1]));
                        map.addOverlay(marker);
                        // Show an infowindow when the marker is clicked.
                        marker.bindInfoWindow(location[0]);
                    }
                }
            }
            gothere.setOnLoadCallback(initialize);
        </script>
    </center>
    <br />
    <center><font size="4"><strong>
        <asp:HyperLink ID="HyperLink1" runat="server" 
            NavigateUrl="http://twitter.com/temasekpoly">Follow us @ Twitter</asp:HyperLink>
        </strong></font>&nbsp;<ajaxToolkit:Twitter ID="Twitter1" 
            Mode="Profile"
            Title="Temasek Poly"
            ScreenName="temasekpoly" 
            runat="server" /></center>
</asp:Content>
